﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    /// <summary>
    /// 回货分拣确认创建收货单
    /// </summary>
  public  class PB_RevingAdd
    {
      
       /// <summary>
       /// 收货数量
       /// </summary>
        public Double TotalNum { get; set; }
        /// <summary>
        /// 收货仓库id
        /// </summary>
        public string StorId { get; set; }
        /// <summary>
        /// 收货单号
        /// </summary>

        public string Code { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public Double TotalAmt { get; set; }
        /// <summary>
        /// 关联单号(分拣主主表Id)
        /// </summary>
        public string RefCode { get; set; }

        /// <summary>
        /// 回货单ID
        /// </summary>
        public string OrderId { get; set; }
        public List<PB_RevingDetails> Subdata { get; set; }
    }
    public class PB_RevingDetails {
        /// <summary>
        /// 物料id
        /// </summary>
        public string MaterialId { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public Double Price { get; set; }
        /// <summary>
        /// 计划数量
        /// </summary>
        public Double PlanNum { get; set; }
        /// <summary>
        /// 实收数量
        /// </summary>
        public Double RecNum { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public Double InNum { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public Double Amount { get; set; }
    }
    /// <summary>
    /// 多个分拣单生成收货单
    /// </summary>
    public class BatchSorting {
        /// <summary>
        /// 仓库编号
        /// </summary>
        public string StorId { get; set; }
        /// <summary>
        /// 分拣单id
        /// </summary>
        public List<string> ReturnSortingList { get; set; }
    }
  
}
